<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<jsp:include page="../cabecera.jsp" flush="true"/>

<script>

    function cancelar(){
        if(confirm('Seguro que desea cancelar?')){
           document.forms[0].action='lauditor.htm';
           document.forms[0].submit(); 
        }
    }    
    
</script>

<form:form action="rauditor.htm" method="post" modelAttribute="nauditor">
<form:hidden path="codAuditor"/>
    
    <table  border="0"  width="100%" align="center" bgcolor="#FFFDD6">
        <tr>
            <td colspan="3">
                <div class="Titulo1B" align="center">Informaci&oacute;n de Auditor</div>
            </td>
        </tr>
        <tr>
            <td class="TituloAzulClaro">Apellido Paterno</td>
            <td><form:input path="apePaterno"/></td>
            <td></td>
        </tr>
        <tr>
            <td class="TituloAzulClaro">Apellido Materno</td>
            <td><form:input path="apeMaterno"/></td>
            <td></td>
        </tr>
        <tr>
            <td class="TituloAzulClaro">Nombres</td>
            <td><form:input path="nombres"/></td>
            <td></td>
        </tr>
        <tr>
            <td colspan="3">
                <div align="center">
                    <input name="Submit1" type="submit" class="boton" value="Guardar" />
                    <input name="Submit1" type="button" class="boton" value="Cancelar" onClick="javascript:cancelar();" />
                </div>
            </td>
        </tr>
    </table>
        
    </form:form>

<jsp:include page="../pie.jsp" flush="true"/>